home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Drag / DLLClient / MkClientOs
Text File  |  1995-09-04  |  1KB  |  69 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.DragInit    \
  4.             o.SetHandler    \
  5.  
  6.  
  7. LibName        =    Drag
  8.  
  9.  
  10.  
  11. # Template makefile to make all .o files
  12. # for a DeskLib sublibrary. Compilation 
  13. # is for static linking with client
  14. # applications (ie not cc -zM but
  15. # _DeskLib_SDLS_CLIENT is predefined).
  16.  
  17. # The macro $(ObjectFiles) should be set at the 
  18. # start of this file, to be a space-separated
  19. # list of object files.
  20. # This is done by 'Makatic'.
  21.  
  22. # The macro $(LibName) should also be set at the 
  23. # start of this file, to be the name of the 
  24. # DeskLib sublibrary.
  25.  
  26. # Compiler flags, These can be anything. 
  27. # All essential flags (eg CC -zM
  28. # are included in the macro $(CC).
  29. #
  30. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_SDLS_CLIENT -D_DeskLib_$(LibName) -I,C:
  31. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  32.  
  33. CC        =    cc -c $(CCFlags)
  34. ASM        =    ObjAsm $(ASMFlags)
  35.  
  36.  
  37. # -------------------------------------------------------
  38. # Everything below here should probably not be changed...
  39. # -------------------------------------------------------
  40.  
  41. # Here's what we want to make...
  42. #
  43. All:    $(ObjectFiles)
  44.  
  45.  
  46. VPATH = @.^
  47.  
  48. .SUFFIXES:    .o .c .s
  49.  
  50. .c.o:
  51.     $(CC) -o $@ $<
  52.  
  53. .s.o:
  54.     $(ASM) $(ASMFlags) -from $< -to $@
  55.  
  56.  
  57.  
  58. # Dynamic dependencies:
  59. o.DragInit:    ^.c.DragInit
  60. o.DragInit:    DeskLib:h.Core
  61. o.DragInit:    DeskLib:h.Wimp
  62. o.DragInit:    DeskLib:h.Drag
  63. o.DragInit:    DeskLib:h.Event
  64. o.DragInit:    DeskLib:h.Handler
  65. o.SetHandler:    ^.c.SetHandler
  66. o.SetHandler:    DeskLib:h.Drag
  67. o.SetHandler:    DeskLib:h.Core
  68.